package com.tms.operation.mapper;

import java.util.List;
import com.tms.operation.domain.TmsOperation;
import org.apache.ibatis.annotations.Select;

/**
 * 运单Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-25
 */
public interface TmsOperationMapper
{
    /**
     * 查询运单
     *
     * @param id 运单主键
     * @return 运单
     */
    public TmsOperation selectTmsOperationById(Long id);

    /**
     * 查询运单列表
     *
     * @param tmsOperation 运单
     * @return 运单集合
     */
    public List<TmsOperation> selectTmsOperationList(TmsOperation tmsOperation);

    /**
     * 新增运单
     *
     * @param tmsOperation 运单
     * @return 结果
     */
    public int insertTmsOperation(TmsOperation tmsOperation);

    /**
     * 修改运单
     *
     * @param tmsOperation 运单
     * @return 结果
     */
    public int updateTmsOperation(TmsOperation tmsOperation);

    /**
     * 删除运单
     *
     * @param id 运单主键
     * @return 结果
     */
    public int deleteTmsOperationById(Long id);

    /**
     * 批量删除运单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTmsOperationByIds(Long[] ids);

}
